<include file="Public/header" />
    <title>常见问题</title>
    <link rel="stylesheet" href="__PUBLIC__/Api/assets/css/reset.css">
    <script src='__PUBLIC__/Api/assets/js/rem.js'></script>
    <link rel="stylesheet" href="__PUBLIC__/Api/assets/css/font-awesome.min.css">
    <link rel="stylesheet" href="__PUBLIC__/Api/assets/css/commonProblem.css">
</head>

<body>
    <div>
        <div class="com-header">常见问题<i class="fa fa-angle-left back" onclick="goback()"></i></div>
        <!--<div class="tabheader">-->
            <!--<a href="{:U('Index/commonProblem')}" class="active">常见问题</a>-->
            <!--<a href="{:U('Index/customerService')}">联系客服</a>-->
        <!--</div>-->
        <div class="problemTitle">
            <?php foreach($arr as $v){?>
                <div class="title"><?php echo $v['title']?></div>
                <div class="mintitle">
                    <?php echo $v['txt']?>
                </div>
            <?php }?>
        </div>
    </div>

    <script>
        function goback() {
            history.go(-1); //返回上一页
        }
        $('.problemTitle').on('click', '.title', function (e) {
            $(this).next('.mintitle').slideToggle();
        })
    </script>
</body>

</html>
